package com.info.zhiduoduo.admin.model.formbean.evaluate;

import com.info.zhiduoduo.common.validator.IntIn;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SaveEvaluateNoticeFormBean {

	@NotEmpty
	@Length(max = 255, message = "标题长度不能超过255")
	private String evaluateTitle;
	@NotEmpty
	@ApiModelProperty("通知内容")
	private String evaluateContent;
	@IntIn(value = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}, message = "请选择正确的接受类型")
	@ApiModelProperty("发送人：1.企业+创客，2.所有企业，3.众包企业，4. 企业，5.所有创客，6. 创客，7. 创客，8.众包创客，9.自然人，10.合伙人，11.测试组")
	private int senderType;

}
